/* stylelint-disable selector-class-pattern */
@include b(panel-ctrl-pos-tab-exp) {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 4px;
  @include when(hidden) {
    display: none;
  }

  @include e(tabs) {
    flex-grow: 1;
    margin-top: 5px;

    > .el-tabs__header {
      margin-bottom: 0;

      .el-tabs__item.is-active {
        color: getCssVar(color, primary);
      }
    }
  }

  @include e(header) {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    @include m(left) {
      flex-grow: 1;
    }
    @include m(right) {
      flex-shrink: 0;
    }
  }

  @include e(content) {
    flex-grow: 1;
    width: 100%;
    height: calc(100% - 45px);
  }
}
